home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
plumber_2.swf
/
scripts
/
frame_45
/
DoAction.as
< prev
Wrap
Text File
|
2011-01-13
|
467b
|
14 lines
function thatsright()
{
pipeflow = new Array(2,1,0,1,6,5,0,0,4,4,3,0,7,8,8,7,12,9,11,10,12,9,11,10,12,9,11,10,12,9,11,10,2,4,3,1,6,5,8,7,2,4,3,1,6,5,8,7,12,14,11,13,16,9,15,10,12,14,11,13,16,9,15,10);
temp = (pipetype - 1) * 16 + (pipedir - 1) * 4 + flow - 1;
n = pipeflow[temp];
attachMovie("right","c" + correct,300 + correct);
with(eval("c" + correct))
{
gotoAndStop(n);
_x = 59 + x * 60;
_y = 105 + y * 60;
}
}